/*
 * @Des: 流程中心路由
 * @Author: jin_yc
 * @Date: 2019-11-12 15:21:34
 * @LastEditor: jin_yc
 * @LastEditTime: 2022-03-18 15:37:01
 */

// import FormManage from "./FormManage/index"
// import TestForm from "./TestForm/index"


// 表单弹窗组件
import { router } from '@/modules/FormCenter/commonFormRoute'

const route =
{
  path: '/flowCenter',
  name: 'flowCenter',
  component: ModuleView('FlowCenter'),
  title: 'FC',
  icon: 'form',
  children: [
    {
      path: 'userTask',
      name: 'userTask',
      title: 'FC_TASKTODO',
      component: () => import('./UserTask/index.vue'),
      children: router('/flowCenter/userTask')

    },
    {
      path: 'myTask',
      name: 'myTask',
      title: 'FC_FLOWTRACK',
      component: () => import('./MyTask/index.vue'),
      children: router('/flowCenter/myTask')
    },
    {
      path: 'relTask',
      name: 'relTask',
      title: 'FC_FORMSEARCH',
      component: () => import('./RelTask/index.vue'),
      children: router('/flowCenter/relTask')
    },
    {
      path: 'circulation',
      name: 'circulation',
      title: 'FC_CC',
      component: () => import('./Circulation/index.vue'),
      children: router('/flowCenter/circulation')
    }
  ]
}

export default route